package weibo;

public class WeiboViewer {
	private IWeiboAPI conn;

	public WeiboViewer() {
		conn = new TencentAPI();
	}

	public void start() {
		conn.connect();
		System.out.print(conn.getTimeLine());
		System.out.print(conn.getTimeLine());
	}

	public static void main(String args[]) {
		WeiboViewer weibo = new WeiboViewer();
		weibo.start();
	}
}
